<template>
  <div>
    <div class="row">
      <Banner/>
    </div>
    <div class="row">
      <div class="col-xs-2 col-xs-offset-2">
        <div class="list-group">
          <!--          <a href="./about.html" class="list-group-item active">About</a>-->
          <!--          <a href="/home.html" class="list-group-item">Home</a>-->

          <router-link to="/about" class="list-group-item" active-class="active">About</router-link>
          <router-link to="/home" class="list-group-item" active-class="active">Home</router-link>
        </div>
      </div>
      <div class="col-xs-6">
        <div class="panel">
          <div class="panel-body">
<!--            <h2>此处到底展示什么组件, 得看用户点击的是哪个导航项</h2>-->
            <router-view></router-view>
          </div>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
import Banner from "@/components/Banner";

export default {
  name: "App",
  components:{
    Banner
  }
}
</script>
